<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html lang="en">


<%@ include file="_head.jsp"%>


<body data-type="widgets">
	<script src="<%=request.getContextPath()%>/static/admin/js/theme.js"></script>
	<div class="am-g tpl-g">
		<!-- 头部 -->
		<%@include file="_header.jsp"%>
		<!-- 风格切换 -->
		<%@include file="_skiner.jsp"%>
		<!-- 侧边导航栏 -->
		<%@include file="_sidebar.jsp"%>
		

		<!-- 内容区域 -->
		<div class="tpl-content-wrapper">

			<div class="container-fluid am-cf">
				<div class="row">
					<div class="am-u-sm-12 am-u-md-12 am-u-lg-9">
						<div class="page-header-heading">
							<span class="am-icon-home page-header-heading-icon"></span> 新增博客文章 
						</div>
					</div>
					
				</div>

			</div>

			<div class="row-content am-cf">


				<div class="row">

					<div class="am-u-sm-12 am-u-md-12 am-u-lg-12">
						<div class="widget am-cf">
							<div class="widget-body am-fr">

								<form class="am-form tpl-form-line-form" action="articleAdd.do" method="post">
									<div class="am-form-group">
										<label for="user-name" class="am-u-sm-3 am-form-label">标题
											<span class="tpl-form-line-small-title">Title</span>
										</label>
										<div class="am-u-sm-9">
											<input type="text" class="tpl-form-input" id="title" name="title"
												placeholder="请输入标题文字"> <small>请填写标题文字10-20字左右。</small>
										</div>
									</div>
									
									<div class="am-form-group">
										<label for="user-name" class="am-u-sm-3 am-form-label">作者
											<span class="tpl-form-line-small-title">Author</span>
										</label>
										<div class="am-u-sm-9">
											<input type="text" class="tpl-form-input" id="author" name="author"
												placeholder="请输作者姓名"> <small></small>
										</div>
									</div>


									<div class="am-form-group">
										<label for="user-phone" class="am-u-sm-3 am-form-label">分类
											<span class="tpl-form-line-small-title">Category</span>
										</label>
										<div class="am-u-sm-9">
											<select data-am-selected="{searchBox: 1}" name="categoryId"
												style="display: none;">
												<option value="1">生活点滴</option>
												<option value="2">Java技术</option>
												<option value="3">MySQL技术</option>
												<option value="4">前端技术</option>
											</select>
										</div>
									</div>

									<div class="am-form-group">
										<label class="am-u-sm-3 am-form-label">文章描述 <span
											class="tpl-form-line-small-title">Description</span></label>
										<div class="am-u-sm-9">
											<input type="text" placeholder="输入文章描述 " name="description">
										</div>
									</div>

									<div class="am-form-group">
										<label for="user-weibo" class="am-u-sm-3 am-form-label">封面图
											<span class="tpl-form-line-small-title">Images</span>
										</label>
										<div class="am-u-sm-9">
											<div class="am-form-group am-form-file">
												<div class="tpl-form-file-img">
													<img src="<%=request.getContextPath()%>/static/admin/img/a5.png" alt="">
												</div>
												<button type="button" class="am-btn am-btn-danger am-btn-sm">
													<i class="am-icon-cloud-upload"></i> 添加封面图片
												</button>
												<input id="doc-form-file" type="file" multiple="">
												<input id="doc-form-file" type="hidden" name="coverImg" value="uploads/cover/a5.png">
											</div>

										</div>
									</div>

									
									<div class="am-form-group">
										<label for="user-intro" class="am-u-sm-3 am-form-label">文章内容</label>
										<div class="am-u-sm-9">
											<textarea class="" rows="10" id="content" name="content"
												placeholder="请输入文章内容"></textarea>
										</div>
									</div>

									<div class="am-form-group">
										<div class="am-u-sm-9 am-u-sm-push-3">
											<button type="submit"
												class="am-btn am-btn-primary tpl-btn-bg-color-success ">提交</button>
										</div>
									</div>
								</form>
							</div>
						</div>
					</div>
				</div>

			</div>
		</div>
	</div>

	<%@include file="_footer.jsp" %>

</body>

</html>